package com.cgy.utils.spider.element;

import com.cgy.utils.spider.type.ElementType;

/**
 * video节点配置
 * @author CH
 *
 */
public class VideoElement extends AbstractElement {
	
	private static final ElementType ELEMENT_TYPE = ElementType.VIDEO;
	
	public VideoElement() {
		super(ELEMENT_TYPE);
	}
	
	public VideoElement(boolean isDebugger) {
		super(ELEMENT_TYPE);
		setDebugger(isDebugger);
	}

	@Override
	public AbstractElement element() {
		addElement("video", "//video/@src", ELEMENT_TYPE);
		return this;
	}
	
}
